package com.itheima.sc.mapper.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.sc.pojo.ums.UmsMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UmsMenuMapper extends BaseMapper<UmsMenu> {
    @Update("update ums_menu set hidden = #{hidden} where id = #{id}")
    void updateHidden(Integer id, Integer hidden);

}
